import request from "@/utils/request";

// 查询协助记录列表
export function listBizXiezu(query) {
  return request({
    url: "/biz/bizXiezu/list",
    method: "get",
    params: query,
  });
}

// 查询协助记录详细
export function getBizXiezu(id) {
  return request({
    url: "/biz/bizXiezu/" + id,
    method: "get",
  });
}

// 新增协助记录
export function addBizXiezu(data) {
  return request({
    url: "/biz/bizXiezu",
    method: "post",
    data: data,
  });
}

// 修改协助记录
export function updateBizXiezu(data) {
  return request({
    url: "/biz/bizXiezu",
    method: "put",
    data: data,
  });
}

// 删除协助记录
export function delBizXiezu(id) {
  return request({
    url: "/biz/bizXiezu/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizXiezu/findMaxSort",
    method: "get",
  });
}
// 导出协助记录
export function exportBizXiezu(query) {
  return request({
    url: "/biz/bizXiezu/export",
    method: "get",
    params: query,
  });
}
